package com.mayikt.service.days;

/**
 * @ClassName Test001
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
public class Test001 {
    public static void main(String[] args) {
        // 二进制文件：类信息、方法名称、局部变量 、常量池
//        System.out.println("mayikt");
//        String s1 = "mayikt";
        String s1 = "a";
        String s2 = "b";
        String s3 = s1 + s2; // s1+s2=StringBuilder
        String s4 = "ab";
        String s5 = "a" + "b";

        System.out.println(s5 == s4);// true
        System.out.println(s3 == s4);//false
    }
}
